package notifiers;
 
import play.*;
import play.mvc.*;
import java.util.*;

import models.*;
 
public class Mails extends Mailer {
 
   public static void invitation(Invite invite) {
      setSubject("Invitation %s", invite.invitee.firstName);
      addRecipient(invite.invitee.email);
			setFrom("me@apache.org");
      send(invite);
   }
    // 
    // public static void lostPassword(User user) {
    //    String newpassword = user.password;
    //    addFrom("Robot <robot@thecompany.com>");
    //    setSubject("Your password has been reset");
    //    addRecipient(user.email);
    //    send(user, newpassword);
    // }
 
}